package com.kifas.model.xml;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class MenuModel implements Serializable {

	private static final long serialVersionUID = -6645572606233970696L;

	private Long idMenu;
	private String name;
	private String title;
	private String url;
	private boolean enable;
	private Long idGroup;

	public MenuModel() {
	}

	public MenuModel(Long idMenu, String name, String title, String url, boolean enable, Long idGroup) {
		this.idMenu = idMenu;
		this.name = name;
		this.title = title;
		this.url = url;
		this.enable = enable;
		this.setIdGroup(idGroup);
	}

	public Long getIdMenu() {
		return idMenu;
	}

	public void setIdMenu(Long idMenu) {
		this.idMenu = idMenu;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public void setIdGroup(Long idGroup) {
		this.idGroup = idGroup;
	}

	public Long getIdGroup() {
		return idGroup;
	}

}
